#coding=utf8

import os


def is_empty_dir(path):
    return os.path.isdir(path) and len(os.listdir(path)) == 0


def get_templates_dir():
    return os.path.join(os.path.dirname(__file__), 'templates')
